@layout("/backend/common/_container.html"){
<div class="dhcc-con" style="margin-top: -10px;">
    <#DateHisui id="startDate" name="开始日期" />
    <#DateHisui id="endDate" name="结束日期" />
    <#InputCon id="episodeId" name="就诊号" />
    <div class="form-group">
        <label for="isSynBase" class="control-label">同步基础数据</label>
        <div id="isSynBase" class="hisui-switchbox" style="margin: 0 10px 0 0px;" data-options="onText:'是',offText:'否',size:'small',animated:true,onClass:'primary',offClass:'warning'">
        </div>
    </div>
    <#Button name="同步数据" icon="icon-w-run" clickFun="KettleJobLog.synData()" />
</div>
<div class="alert alert-danger" role="alert">
    <strong>注意：</strong>
    <p>1.基础数据(院区科室医嘱项检验项等)，建议首次执行开启同步，后续可关闭。</p>
    <p>2.时间范围必填，同步该时间段内在院和出院患者的数据。</p>
    <p>3.若就诊号不为空，同步该患者指定时间范围内的业务数据（部分接口不支持时间范围，默认全部）。</p>
</div>
<div id="consoleArea" style="color: #9ea59e;background-color: #0a5162;overflow-y: auto;width: 100%;height: 200px;margin: -10px 0 10px 0;padding:10px;border-radius: 5px"></div>
<#Table id="KettleJobLogTable"/>
<script src="${ctxPath}/static/backend/cdc/kettlejoblog/kettlejoblog.js"></script>
@}
